#!/bin/bash

TARGET="target extended-remote | openocd -f openocd.cfg \
  -c \"gdb_port pipe; log_output openocd.log; init; reset halt;\""

arm-none-eabi-gdb build/snowy_boot.elf \
  -ex "${TARGET}" \
  -ex "break boot_main" \
  -ex "continue"

# vim:filetype=sh
